package com.gcsoftware.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面跳转
 * @author czp
 * date 2018-06-11
 */
@Controller
@RequestMapping("ref")
public class RefreshtoController extends BaseController {
    @RequestMapping("/index")
    public String toIndexPage() {
        logger.info("toIndexPage()");
        return "index";
    }

    @RequestMapping("/home")
    public String toHomePage() {
        logger.info("toHomePage()");
        return "home";
    }

    @RequestMapping("/database")
    public String toDatabasePage() {
        logger.info("toDatabasePage()");
        return "database";
    }

    @RequestMapping("/itSys")
    public String toItSysPage() {
        logger.info("toItSysPage()");
        return "itSys";
    }

    @RequestMapping("/docCenter")
    public String toDocCenterPage() {
        logger.info("toDocCenterPage()");
        return "docCenter";
    }

    @RequestMapping("/securityItem")
    public String toSecurityItemPage() {
        logger.info("toSecurityItemPage()");
        return "securityItem";
    }

    @RequestMapping("/mapping")
    public String toMappingPage() {
        logger.info("toMappingPage()");
        return "mapping";
    }

    @RequestMapping("/menuConfig")
    public String toMenuConfig() {
        logger.info("toMenuConfig()");
        return "menuConfig";
    }

    @RequestMapping("/loginLog")
    public String toLoginLog() {
        logger.info("toLoginLog()");
        return "loginLog";
    }
}
